package com.medata.repository;

import com.medata.dataObject.LockIp;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

public interface LockipRepository extends JpaRepository<LockIp,String> {
    LockIp findByIpid(Integer id);
    void deleteByIpid(Integer id);
    Page<LockIp> findAll(Pageable pageable);
    void deleteAllByAreaid(Integer id);
}
